package com.fighYo.edu.service;

import com.fighYo.edu.entity.EduCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fighYo.edu.entity.vo.CourseInfoVo;
import com.fighYo.edu.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author fighYo
 * @since 2021-08-24
 */
public interface EduCourseService extends IService<EduCourse> {

    public String saveCourseInfo(CourseInfoVo courseInfoVo);

    public CourseInfoVo getCourseInfo(String courseId);

    boolean updateCourseInfo(CourseInfoVo courseInfo);

    CoursePublishVo getPublishCourseInfo(String id);

    boolean publishCourseById(String id);

    boolean removeCourseByCourseId(String id);
}
